//
//  DeviceModel.m
//  PPScaleDemo
//
//  Created by 彭思远 on 2021/3/11.
//

#import "DeviceModel.h"

@implementation DeviceModel

MJExtensionCodingImplementation

- (instancetype)initWithPPDeviceModel:(PPDeviceModel *)deviceModel{
    self = [super init];
    if (self) {
        _deviceName = deviceModel.deviceName;
        _deviceMac = deviceModel.deviceMac;
        _deviceSN = @"";
        _deviceSSID = @"";
    }
    return self;
}

+(NSString *)primaryKey{
     return @"deviceMac";
}
@end
